﻿using System;
using System.Threading.Tasks;
using VisionCloud.Core.Model.Ms;
using VisionCloud.Domain.DtoModel.MiniApp;
using VisionCloud.Domain.DtoModel.Ms;

namespace VisionCloud.Domain.Repository.Interface.Ms
{
    public interface IMsTaskDotCloudBatchRepository : IBaseRepository<MsTaskDotCloudBatch>
    {
        /// <summary>
        /// 新增只采模式点云上传批次
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        ValueTask<bool> AddDotCloudBatchAsync(DotCloudUploadBatchDto dto);

        /// <summary>
        /// 新增只采模式点云上传批次
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        ValueTask<bool> AddDotCloudBatchAsync(TaskDotCloudBatchRequestDto dto);

        /// <summary>
        /// 更新次数
        /// </summary>
        /// <param name="batchId"></param>
        /// <returns></returns>
        ValueTask<bool> UpdateCurrTimes(Guid batchId);
    }
}
